home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / UTILITY1 / EDOS365H.ZIP / EDOSDOC.TXT < prev    next >
Text File  |  1993-06-21  |  72KB  |  2,691 lines

  1. Overview
  2.  
  3.  
  4.  
  5.  
  6.  
  7. EDOS is a powerful device driver program that adds many amazing
  8. features to your DOS sessions under Microsoft Windows. It makes
  9. your DOS session "Windows-aware," whenever you run DOS in
  10. Windows' 386 enhanced mode. EDOS uses none of your conventional
  11. memory. It loads entirely in extended memory above 1 megabyte.
  12. Once you become accustomed to EDOS, you never want to be without
  13. it.
  14.  
  15.  
  16.  
  17.  
  18.  
  19. EDOS Features
  20.  
  21.  
  22.  
  23. EDOS adds several "internal" commands to DOS. These are commands
  24. that do not require separate files on your hard disk, but act
  25. like a part of DOS itself. These commands allow you to change
  26. your DOS session's PIF settings on the fly, set alarms which
  27. show a message box in Windows, add memory, start performance
  28. timers, disable "dangerous" DOS commands, view and print the
  29. Windows Clipboard, and much more.
  30.  
  31.  
  32.  
  33. The five DOS Session icons correspond to five PIF files for  DOS
  34. sessions of 736K, 704K,  640K, 128K, and 50K of memory. You can
  35. improve performance in Windows, and open more applications in
  36. Windows, by using the smallest DOS session you actually need.
  37. All DOS sessions started while EDOS is running -- not just those
  38. started with these PIF file icons -- benefit from all features
  39. of EDOS.
  40.  
  41.  
  42.  
  43. A Windowed DOS session has a menu bar with file, edit, help,
  44. view selections and  two status indicators, {b} and  [X]. These
  45. show the state of the Background  and Exclusive flags. They are
  46. grayed out when the state is off, black if on. They are updated
  47. in real-time.  The menu bar can be disabled or enabled at any
  48. time.
  49.  
  50.  
  51.  
  52. There is a SUSPEND menu item, on the system menu. Turns
  53. background off and minimizes the session all in one.
  54.  
  55.  
  56.  
  57. EDOS also makes it possible for you to exit any DOS session by
  58. pressing Alt+F4 , just like a Windows application, instead of
  59. typing EXIT and pressing Enter.
  60.  
  61.  
  62.  
  63. EDOS has a full, on-line Windows Hypertext Help system. You can
  64. run this by clicking on EDOS Help in any DOS session's System
  65. menu.  For more information, see "What You Can Do With EDOS" in
  66. this document.
  67.  
  68.  
  69.  
  70. Quick Installation
  71.  
  72.  
  73.  
  74. First. Read the README.TXT file on the installation disk before
  75. proceeding. It contains hints and information on last minute
  76. changes to EDOS you should be aware of.
  77.  
  78.  
  79.  
  80. To install EDOS, Windows 3.1 or higher must be running. Place
  81. the EDOS diskette in floppy drive A: or B:. Click the File menu
  82. in Program Manager (or any Windows "shell" program), then click
  83. Run. Type the following command line and press Enter:
  84.  
  85.  
  86.  
  87. A:\SETUP     or      B:\SETUP
  88.  
  89.  
  90.  
  91. For further information on the Setup process, see the section
  92. "How Setup Works" in this document, or the text file README.TXT
  93. on the EDOS diskette.
  94.  
  95.  
  96.  
  97. After the installation process you can verify  the installation
  98. worked properly by clicking on the "Verify" icon in the EDOS DOS
  99. session group.
  100.  
  101.  
  102.  
  103. What To Do If Windows Won't Run
  104.  
  105.  
  106.  
  107. If incompatibilities prevent Windows from running after you
  108. install EDOS, you can easily disable EDOS from loading so that
  109. you can work out the problem. To do so:
  110.  
  111.  
  112.  
  113. Comment out the  device=edos.386 line in the [386Enh] section of
  114. SYSTEM.INI.
  115.  
  116. Comment out the EDOS=EDOSLIB.DLL line in the [drivers] section
  117. of SYSTEM.INI.
  118.  
  119. NOTE:    A semi-colon at the beginning of the line comments the
  120. line.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. If all else fails call EDOS tech support
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. Quick EDOS Disable
  137.  
  138.  
  139.  
  140. To disable EDOS loading, use the disable ICON or see the    "How
  141. to Remove EDOS"  for permanent removal. The disable ICON toggles
  142. from disabled to enabled.
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. EDOS Operating Environment
  151.  
  152.  
  153.  
  154. A DOS Session consists of one windowed or full screen DOS window
  155. and virtual machine.  It acts like a single-user computer
  156. operating in the MS-DOS environment.  Theoretically, anything
  157. that is designed to run under DOS, will run in a DOS Session. 
  158. Unfortunately, many complications can keep this from happening. 
  159. Although Windows 3.1 performs much better than previous versions
  160. running DOS Sessions, it still leaves much to be desired.  EDOS
  161. adds reliability, functionality , and  convenience to operating
  162. DOS programs under Windows.  Indeed, a DOS application run in a
  163. windowed DOS Session with EDOS  in control provides features and
  164. functionality unavailable under DOS alone.  EDOS was developed
  165. for the many users who, for whatever reason, need to run in the
  166. Windows environment but frequently need to use DOS applications. 
  167.  
  168.  
  169.  
  170.  
  171.  
  172. What You Can Do With EDOS
  173.  
  174.  
  175.  
  176. EDOS adds several new commands to DOS sessions. These commands
  177. can be typed at a DOS command line or used in batch files, like
  178. any other DOS commands. Some examples of ways you can use these
  179. features are:
  180.  
  181.  
  182.  
  183. Using the EDOS command DOSMEM, you can give a DOS session more
  184. memory than it started with!  Up to 736 KB.
  185.  
  186. EDOS provides "Smart Exiting." EDOS automatically closes idle
  187. DOS sessions when you exit Windows.
  188.  
  189. You can write a batch file to display or change most PIF
  190. settings "on-the-fly.". This means you can use a single
  191. DEFAULT.PIF file for all DOS applications, but change its
  192. settings as required. 
  193.  
  194. You can set alarms in DOS sessions, which display dialog message
  195. boxes in Windows.
  196.  
  197. You can create batch files to run in background and use the
  198. ALARM and EDOSEXIT commands to return to Windows a failed or
  199. successful complete message.
  200.  
  201. You can test the performance of various PIF settings on your DOS
  202. sessions, using the commands SYSTIME and BOXTIME. By running
  203. BOXTIME before and after a certain task, for example, you can
  204. see what percentage of CPU time that DOS application is getting
  205. from Windows.
  206.  
  207. You can display or print any text in the Windows Clipboard from
  208. the DOS command line. Windows' own Clipboard Viewer can't print
  209. by itself.
  210.  
  211. Using the BOXSWITCH command, you can disable the possibility of
  212. switching away from a DOS session and back to Windows, during
  213. critical tasks that must not be interrupted.
  214.  
  215. You can test in a batch file whether or not Windows is running,
  216. using the ISWIN command.
  217.  
  218. Additionally, EDOS modifies and disables some DOS commands that
  219. are dangerous if run in a DOS session under Windows. This
  220. includes CHKDSK/F, FORMAT, FASTOPEN, APPEND, SUBST, and others.
  221. And,  EDOS allows you to specify DOS commands that you wish to
  222. disable. See the section "Disabling Other DOS Commands" in this
  223. document.
  224.  
  225. Finally, EDOS features a new system menu for windowed EDOS
  226. sessions with; Hypertext Help, an "About EDOS" selection and
  227. under Windows 3.1 you can start the PIF editor which
  228. automatically starts with the PIF for the current session.
  229.  
  230. For detailed information on each command, see the "Command
  231. Reference" section. For a quick summary, see below
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239. User Tips
  240.  
  241.  
  242.  
  243. Alt+Space  windows a DOS session and pops up the system menu.
  244.  
  245.  
  246.  
  247. Alt+Enter toggles from Windowed to Full Screen.
  248.  
  249.  
  250.  
  251. Alt+Tab  will cycle from one task to the next.
  252.  
  253.  
  254.  
  255. NOTE:     Most people are unaware that WINSTART.BAT can be used to
  256. load TSR's that are used only by Windows apps and that ONLY take
  257. up conventional memory in the Windows System Virtual Machine.
  258. That's right ONLY in Windows.  See the ADVANCED.TXT file on the
  259. installation disk for more information.
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. Control Menu
  270.  
  271.  
  272.  
  273. The control menu is invoked by clicking on the upper left corner
  274. of any Windows window frame -- at the left end of the  Title Bar
  275. -- in the box containing the horizontal bar.  It is relatively
  276. standard throughout Windows, but has  minor changes in DOS
  277. Sessions.  The EDOS version is even more capable.   See the
  278. details below:
  279.  
  280.  
  281.  
  282. Std. Moving & Sizing - This includes the usual Restore, Move,
  283. Size, Minimize, Maximize group. In addition EDOS adds  Full
  284. Screen.  This function is also available in the View selection
  285. on the  EDOS Menu Bar, and sends a windowed DOS Session into
  286. Full Screen Mode. 
  287.  
  288.  
  289.  
  290. Close - This selection closes the DOS Session and its window,
  291. like File Exit in the EDOS Menu Bar.  It likewise will  be
  292. grayed out if the Session has a running application.
  293.  
  294. Switch To... - This selection is a standard Windows entry which
  295. takes you to the Task Manager.
  296.  
  297.  
  298.  
  299. Settings...  - This selection is a standard Windows entry which
  300. takes you to a Dialog box showing some of the  session setting
  301. -- display, priority, and tasking options, with a kill task
  302. button also.  Changes may be made to the  values/conditions
  303. here, which take effect immediately, but do NOT change the
  304. current PIF file permanently.  This same Dialog box can be
  305. accessed from the EDOS Menu Bar under
  306. Settings|Current|Priorities.  See Menu Bar below for details.
  307.  
  308.  
  309.  
  310. Menu Bar - This is, of course, an EDOS addition.  It is a
  311. switch; if checked, the EDOS Menu Bar is present.  
  312.  
  313.  
  314.  
  315. Suspend - Suspends the DOS session and replaces the session
  316. window with its icon. The Background Flag is turned off.  If you
  317. click on the icon the control menu will pop up. You can in turn
  318. click on the check marked suspend  item which will toggle the
  319. background Flag on and reactivate the session.
  320.  
  321.  
  322.  
  323. EDOS Menu Bar
  324.  
  325.  
  326.  
  327. EDOS now provides a Menu Bar, just below the Title Bar in
  328. windowed DOS sessions!  In its present implementation, it offers
  329. DOS activities valuable performance and convenience improvements
  330. unavailable with other products. 
  331.  
  332.  
  333.  
  334. New...  - This selection brings up a File Selection box,
  335. allowing selection of drive, directory, and filename, similar to
  336. many other places in the Windows environment.  Only executable
  337. files are appropriate  for this function, which is to launch a
  338. NEW DOS or Windows Session from the current DOS Session!  
  339.  
  340.  
  341.  
  342. Pick... - This selection brings up an identical File Selection
  343. box, BUT only pastes the FULL Path name of the selected file at
  344. the cursor location in the Current Session.  The cursor needs to
  345. be located where keyboard entry of a filename is expected, of
  346. course.  This could be at the DOS System prompt, or in a running
  347. application for which you need a filename response at that
  348. point.  
  349.  
  350.  
  351.  
  352. Exit  - This selection closes the DOS Session and window -- IF
  353. you are at the DOS System prompt.  It  will be grayed out, if
  354. you are in a running application.  The way to close the Session
  355. in that case depends on the PIF parameter settings -- usually by
  356. closing the application in its usual way.
  357.  
  358.  
  359.  
  360. Mark, Copy, Append, Paste - This essentially is the same
  361. capability provided in the Control Menu of a  regular windows 
  362. 3.1 DOS window, BUT it is much more accessible and convenient
  363. located at the top of the screen and only ONE level down, rather
  364. than two.  From an operational and utilitarian view, this makes
  365. the copy/paste procedure much more valuable and useable.
  366.  
  367.  
  368.  
  369. Finally, all the important scraps of text that one would like to
  370. move from one application to another can be done -- and done
  371. easily.  You will develop a real enthusiasm for the variety of
  372. small tasks that can now conveniently be done without retyping
  373. or confusion.  And note that both the source and the target
  374. Sessions can be DOS or Windows in any combination.
  375.  
  376.  
  377.  
  378. Make the source Current, Mark the selected block on the screen
  379. with your mouse -- point to the upper left corner of the text
  380. block desired, press the left mouse button and drag to the lower
  381. right corner (everything highlighted will be transferred, so
  382. mark carefully) -- choose Copy, and that text will be in the
  383. Windows Clipboard. When the text is selected (highlighted) it
  384. may be copied by clicking on the right mouse button. Make the
  385. target Current, if it is DOS, and place the cursor where you
  386. want the text to go;  choose Paste and the text will transfer to
  387. that location as if it were entered from the keyboard.  A
  388. Windows session as target will accept the contents of the
  389. Clipboard in the usual way, and as a source can Cut as well as
  390. Copy to the Clipboard for use by any target Session. 
  391.  
  392.  
  393.  
  394. The Windows Clipboard, for all we would like it to do, really
  395. isn't very capable.  You can't tell what's in it at a given
  396. time, or how much and there's no way to get a printed record, in
  397. Windows or in DOS. EDOS adds some valuable functionality in this
  398. area.
  399.  
  400.  
  401.  
  402. View Clip... -  This selection brings up the Clipboard Viewer on
  403. top of the Current DOS  Session.  Anything the Viewer can do can
  404. be accomplished at this point.  For example, you can transfer
  405. the clipboard contents to a .CLP file.  Making and using
  406. multiple clipboards in DOS apps is not only possible, but easy. 
  407. Using CLP files gives the Clipboard a memory.  This is an EDOS
  408. added function.
  409.  
  410.          
  411.  
  412. When using Clip to bring up the Viewer, any .CLP file can be
  413. loaded for use in the Current Session. You can paste whatever
  414. text is in the Clipboard at the cursor, regardless from where or
  415. when it came.  The Clipboard Viewer and the .CLP file facility
  416. are not EDOS features  of course, but  EDOS allows DOS Sessions
  417. ACCESS to them.
  418.  
  419.  
  420.  
  421. Clip Status... - This selection provides an Information box with
  422. a character count of the contents of the Clipboard.  This gives
  423. a forewarning of how much text will be pouring into your 
  424. application at the cursor, as well as providing a simple means
  425. of determining if ANYTHING is in the Clipboard at the moment.  
  426.  
  427.  
  428.  
  429. Print Clip...  - This selection provides a printout of the
  430. contents of the Clipboard on the default printer.  For best
  431. results, you should install in Windows the generic text printer
  432. driver in addition to those needed for specific printers.  EDOS
  433. expects this Driver to be available for this function.  Results
  434. may be unexpected if it is not.  
  435.  
  436.  
  437.  
  438. Scroll - This is the same function available in the Control
  439. Menu, but at a more convenient location. You may well wonder
  440. what this on/off toggle is for.  It is not obvious, because it
  441. has no purpose in a Maximized Windowed DOS session.  However, if
  442. your window shows less than the full DOS screen -- there will be
  443. an "elevator" scroll bar at the side, the bottom, or both --
  444. then while in Scroll Mode the cursor (arrow keys) will scroll to
  445. view hidden portions of the screen.  This provides for window
  446. view control without a mouse.  You'll find that there are some
  447. times that the arrow keys are more appropriate or convenient,
  448. even if you normally do use a mouse.
  449.  
  450.  
  451.  
  452. Full Screen! - This is the same function available in the
  453. Control Menu, but again in a more convenient location.  
  454.  
  455.  
  456.  
  457. Screen Saver! - This selection enables the Windows Screen Saver.
  458. When you return in the normal way from the Screen Saver screen,
  459. the same session is on top, ready for continuing.  BUT NOTE: It
  460. is NOT selected.  Simply click anywhere in that window as usual
  461. to reactivate the Session as the Current one.  In the process of
  462. invoking the screen-save process, it becomes current. The
  463. preceding DOS Session can not automatically be made Current. 
  464. Remember to reactivate your DOS Session when you return from
  465. Screen-Save!  
  466.  
  467.  
  468.  
  469. 25/50 Lines! - Toggles the DOS session display from 25 to 50
  470. line mode and back.
  471.  
  472.  
  473.  
  474. Fonts.. - This is the standard Windows entry in the Control
  475. Menu, which has been moved here for greater convenience -- it
  476. just seems to make more sense here!  The functionality is the
  477. same, however.
  478.  
  479.  
  480.  
  481. Several DOS session environment settings can be changed from the
  482. menu bar. They are:
  483.  
  484.  
  485.  
  486. Background! - A yes/no toggle item.  When check marked,
  487. background is on.  This should show the same as the indicator at
  488. the right end of the Menu Bar.  Like Priority the change is only
  489. temporary.  See below. 
  490.  
  491.  
  492.  
  493. Advanced - These are items less often needed and provide more
  494. detailed info/control. 
  495.  
  496.  
  497.  
  498. Priority... - This provides the same Dialog box as the Settings
  499. item on the Control Menu and provides the same capability for
  500. temporarily changing PIF values.  
  501.  
  502.  
  503.  
  504. Exclusive - Like Background, above, this is a yes/no toggle,
  505. check marked when on, but is much less likely to be used, so it
  506. is at this lower level.  Again, changes made here are temporary.
  507.  
  508.  
  509.  
  510. The next three items are yes/no toggles, check marked when on. 
  511. The toggle is provided in case a particular feature seems to
  512. interfere with a DOS application. Otherwise they serve mostly as
  513. status indicators, as do most items in this Advanced Menu. 
  514.  
  515.  
  516.  
  517. Drag/Drop! - You can drag a file name from the the file manager
  518. and drop tit at the command line in your DOS session.
  519.  
  520.  
  521.  
  522. Fast Paste! -  Toggles on and off the fast paste PIF setting.
  523.  
  524.  
  525.  
  526. Run Win Apps!  - Toggles on or off the ability to start Windows
  527. applications from the DOS command line.
  528.  
  529. Screen Saver!  - Starts the Windows screen saver.
  530.  
  531.  
  532.  
  533. Kill Task - This provides the same function as on the Control
  534. Menu, that of terminating  a DOS Session completely and
  535. unequivocally, when all else fails.  HANDLE WITH CARE!  This is
  536. the LAST RESORT Panic Button.  Even so, ONLY the Current Session
  537. is terminated, the rest of the Windows System is not affected.
  538.  
  539.  
  540.  
  541. Startup... - This selection invokes the PIF Editor with the
  542. Current Session PIF already selected.  Any adjustments can be
  543. made to the PIF, just as in the PIF Editor normally invoked. 
  544. PLEASE NOTE, however, that any changes made, if saved upon exit,
  545. will NOT take effect until this Session is  closed, then
  546. restarted.  The PIF information is only read during loadtime.
  547.  
  548.  
  549.  
  550. EDOS Help - EDOS uses the full facilities of WINHELP, with which
  551. you may already be familiar in Windows applications, but has
  552. never previously been available in a DOS environment.  Hypertext
  553. and pop-up definitions of terms are used extensively.   Although
  554. there may be no end to the possibilities bearing from the
  555. implementation of this facility, presently there are seven major
  556. selections in the EDOS Help menu.  They are self-explanatory,
  557. and please note that, as with any Windows Help selection, any
  558. entry can be printed on a selected printer, if permanent 
  559. reference is needed. How?  You can use the File entry in the
  560. Help System Menu Bar.  There is a Print entry  located there. 
  561. If you never noticed, try it.  It prints the current topic in
  562. graphic mode, and on a color printer,  prints the sub-topics and
  563. hypertext buttons in green, etc.
  564.  
  565.  
  566.  
  567. There are two indicators at the extreme right on the Menu Bar:
  568. {b} - when highlighted, indicates that the Session is marked for
  569. Background operation; if dimmed, the Session  will not operate
  570. in the Background when the Session window is inactive. [X] -
  571. when highlighted, indicates that the Session is marked for
  572. Exclusive operation; if dimmed, the Session is not operating
  573. Exclusively, which is  normal. 
  574.  
  575.  
  576.  
  577. Useful examples of Inter-session Communications  Using EDOS
  578.  
  579.  
  580.  
  581. The Mark/Copy/Append/Paste capability now in DOS Sessions 
  582. provides far more communication among DOS and Windows activities
  583. than ever before. The new EDOS Menu Bar makes them convenient
  584. enough to actually use in a production setting.  Of course,
  585. these functions works only for  text, and only that which can be
  586. on the screen at one time, but there are a lot of scraps of text
  587. that would be desirable to transfer to another location without
  588. having to retype -- and get it wrong!
  589.  
  590.  
  591.  
  592. A simple example to which all can relate is the name and
  593. address.  If you provide a format  screen in your database, for
  594. instance, that is exactly like the form you want it for a
  595. letter, open two Sessions..  Open the database in convenient
  596. search/find mode using the formatted screen above.  Find the
  597. proper name & address for  your letter, mark and copy it.  Then
  598. <Alt-TAB> to you word processing Session, place the cursor where
  599. you want the text to start, choose Paste, and continue with your
  600. letter.  Remember if you haven't put anything else in the
  601. Clipboard  in  the meantime, the name and address  is still
  602. available for the envelope!  For low-volume letter writing, this
  603. provides a slick, easy , way to access your database, regardless
  604. what program it's  in. 
  605.  
  606.  
  607.  
  608. Here's another.  Say you have a program you want to write to the
  609. author/publisher about.  For example, complimentary remarks
  610. about EDOS! Instead  of scanning through the program in Dump
  611. Mode of your favorite Viewer and writing down the Owner name
  612. copyright date, version, and if you're lucky address, for later
  613. reference, simply mark the block of  garbage in which that info
  614. is contained, copy, then place it in a text editor to clean it
  615. up ( WIN Notepad works fine),  copy it back to the Clipboard and
  616. paste it into your letter -- or a note program for later
  617. reference.  
  618.  
  619.  
  620.  
  621. Many programs have a on-line help capability at the command
  622. line.  Either ? or /? or something similar after the program
  623. command will often display such help.  Have you ever wanted to
  624. get a printout of this -- AFTER editing it into a more easily
  625. readable or appropriate form for your purpose?  For instance,
  626. the help screen from  PKZIP/PKUNZIP.  But, you say, the help
  627. takes  more that one screen, especially PKUNZIP.  So it does. 
  628. Put as much as will fit on the screen and Pause, copy that much 
  629. to the Clipboard.  Since the present Clipboard has an append
  630. feature, we do not have to do this in multi-steps.
  631. Edit/Mark/Copy the first part then Edit/Mark/Append the second
  632. part.
  633.  
  634.  
  635.  
  636. There are more than one way to do most things, but using these
  637. tools and procedures for small operations is  quick and easy --
  638. much easier than describing them.
  639.  
  640.  
  641.  
  642. View, Status & Print - Since view brings up the Clipboard View
  643. right on top of what you're doing, you can, while there, save
  644. multiple clipboards in effect, by saving .CLP files, recalling
  645. them as needed with a load.  Several  text scraps could be
  646. copied in sequence from the same Session, saving each in a .CLP
  647. file in turn.  Then going to  the destination application and
  648. retrieving them one at a time through the Clipboard, appending
  649. all together.
  650.  
  651.  
  652.  
  653. Picking Filenames - How often have you been in an application
  654. that has no direct connection with a directory listing at  a
  655. point where it was asking for a filename?  I Know, you can't
  656. count the times!  This is a real lifesaver in such cases.   We
  657. are using WIN facilities -- the File Selection Dialog box -- to
  658. peek at the directory system aside from the Current 
  659. application.  Unlike NEW, which has its own unique features,
  660. this simply pastes the selected filename at the cursor, 
  661. wherever it may be.  This is the COMPLETE path name, so there is
  662. NO ambiguity in the reference.
  663.  
  664.  
  665.  
  666. Using TSR's with Applications - First word:  BEWARE!  That being
  667. said, many TSR's do work fine when invoked in a Session before
  668. the main application, using a batch file.  Use of others may
  669. prove disastrous.  Try them out carefully.  The  advantage of 
  670. loading them locally is, they are part of that sessions memory
  671. allocation, and they are automatically removed from memory when
  672. the session is closed.
  673.  
  674.  
  675.  
  676. A few TSR's function in DOS sessions with their usual hotkeys
  677. when loaded globally, that is, before Windows.  However, Windows
  678. most often disables TSR Hotkeys while running. After leaving
  679. Windows the hotkeys may work as usual. BUT there may be
  680. incompatibilities between the TSR and Windows and an attempt to
  681. start the TSR will do strange, incomprehensible things to
  682. Windows that may not be immediately apparent.  Also, it has been
  683. demonstrated painfully, any TSR that pastes data at the cursor
  684. of the underlying application through the keyboard buffer will
  685. likely interfere with the Clipboard paste into a DOS session or
  686. the use of pick.  The Session -- or the computer -- may lock. If
  687. this happens to you, try turning off Fast Paste. Command Summary
  688.  
  689. New DOS Internal Commands (EDOS Commands)
  690.  
  691.  
  692.  
  693. /?    Added to the end of an EDOS command, displays Help.
  694.  
  695. Alt+F4    Closes a DOS session.
  696.  
  697. ALTF4    Disables or enables the Alt+F4 key combination.
  698.  
  699. ALARM    Sounds an alarm after a specified interval.
  700.  
  701. BACKGROUND    Sets Background mode of DOS session.
  702.  
  703. BOXSWITCH    Changes ability to switch away from a session.
  704.  
  705. BOXTIME    Measures CPU time available to a session.
  706.  
  707. CLIPBOARD*    Displays or prints the Windows Clipboard
  708.  
  709. DOSMEM    Adds memory to the current DOS session.
  710.  
  711. EDOSEXIT*    Returns exit code from EDOS commands.
  712.  
  713. EMS    Displays expanded memory settings.
  714.  
  715. EXCLUSIVE    Sets Exclusive mode of DOS session.
  716.  
  717. ISWIN*    Sets the DOS Errorlevel if Windows is running.
  718.  
  719. PIF    Displays the PIF settings for a DOS session.
  720.  
  721. PRIB    Changes the Background Priority of a session.
  722.  
  723. PRIF    Changes the Foreground Priority of a session.
  724.  
  725. SLICE    Sets the Minimum Time Slice allocated by Windows.
  726.  
  727. STATUS  or EDOS    Displays status information.
  728.  
  729. SYSTIME    Measures elapsed time system-wide.
  730.  
  731. XMS    Displays extended memory settings.
  732.  
  733.  
  734.  
  735.                   *   External (.COM) commands.
  736.  
  737. DOS Commands Modified
  738.  
  739.  
  740.  
  741. CHKDSK    CHKDSK/F is disabled under Windows.
  742.  
  743. DATE    Should be changed only through Control Panel.
  744.  
  745. MEM    Additional information is displayed.
  746.  
  747. Print Screen    Prints to LPT1, instead of copying to Clipboard.
  748.  
  749. TIME    Should be changed only through Control Panel.
  750.  
  751. WIN    Disallows attempt to load a new copy of Windows 
  752.  
  753.     and switches back to  the current Windows session.
  754.  
  755. DOS Commands Disabled While in Windows
  756.  
  757.  
  758.  
  759. APPEND    Confuses Windows as to true path names.
  760.  
  761. ASSIGN    Confuses Windows as to true drive letters.
  762.  
  763. CHKDSK /F    Scrambles open files under Windows 3.0.
  764.  
  765. FASTOPEN    Confuses Windows by buffering directory reads.
  766.  
  767. FDISK    Erases and re-partitions hard disks.
  768.  
  769. FORMAT    Should be run from Windows File Manager.
  770.  
  771. JOIN    Confuses Windows as to true path names.
  772.  
  773. RECOVER    Breaks files into small sectors and renames them.
  774.  
  775. SUBST    Confuses Windows as to true path names.
  776.  
  777. DOSX    Hangs  PC, damages disk.
  778.  
  779.  
  780.  
  781.  
  782.  
  783. Commands You Should Disable
  784.  
  785.  
  786.  
  787. Review your utilities for commands that mess about with the
  788. structure of your disk. For example, disk organizers and the
  789. like. These should not normally be run from windows. In
  790. addition, some versions of DOS have special commands reserved
  791. for system installation.  For example, The SELECT command is
  792. used by some versions of DOS to format a hard disk and install
  793. the DOS "hidden files," in preparation for the full installation
  794. of DOS itself.
  795.  
  796.  
  797.  
  798. If you are running Windows on a Network you will probably want
  799. to disable network commands like: login, Logout and Attach.
  800.  
  801. Command Reference
  802.  
  803.  
  804.  
  805.  
  806.  
  807. This section describes each EDOS command in detail. The commands
  808. may be typed at the DOS command line, or used in batch files
  809. like any other DOS command.
  810.  
  811.  
  812.  
  813. Adding a greater-than symbol (>) and a printer port or filename
  814. to the end of most EDOS commands will print output to a printer
  815. or a text file.
  816.  
  817.  
  818.  
  819. /?
  820.  
  821.  
  822.  
  823. Adding a slash and a question mark (/?) after any command
  824. displays Help text about that command. The command itself does
  825. not run.
  826.  
  827.  
  828.  
  829. Alt+Enter
  830.  
  831.  
  832.  
  833. Alt+Enter toggles between full screen and windowed mode in a
  834. EDOS session.
  835.  
  836.  
  837.  
  838. Alt+F4
  839.  
  840.  
  841.  
  842. When EDOS is running, pressing the key combination Alt+F4 in a
  843. DOS session closes that session, just as it closes any Windows
  844. application. The effect in a DOS session is the same as typing
  845. EXIT<Enter>.  
  846.  
  847.  
  848.  
  849. This key combination can be enabled or disabled from the command
  850. line by using the command ALTF4 ON or ALTF4 OFF (see below).
  851.  
  852. ALTF4 ON - ALTF4 OFF
  853.  
  854.  
  855.  
  856. Typing ALTF4 OFF disables the EDOS feature of closing a DOS
  857. session when the key combination Alt+F4 is pressed.  ALTF4 ON
  858. turns this feature back on. The ability to close a DOS session
  859. with Alt+F4 can be permanently disabled by adding the line:
  860.  
  861. EDOSAltF4=FALSE   in the [edos] section of the SYSTEM.INI file. 
  862.  
  863.  
  864.  
  865. EDOSAltF4=TRUE   enables the EDOS' Alt+F4 feature. (Uppercase
  866. and lowercase are not important in these lines.)
  867.  
  868.  
  869.  
  870.  
  871.  
  872. ALARM {{seconds} {"message string"}}
  873.  
  874.  
  875.  
  876. The ALARM command causes a message box to become visible after
  877. the delay in seconds indicated by the first parameter. An
  878. optional message string may be used, which must be enclosed in
  879. double quotes. If no message string is used then, the message
  880. box will contain the string "Alarm Rings". The message box title
  881. is the title and ID number of the DOS session that created the
  882. alarm. Several alarms, one per DOS session, may be initiated.
  883.  
  884.  
  885.  
  886. BACKGROU[ND] {ON or OFF}
  887.  
  888.  
  889.  
  890. Typing BACKGROUND by itself displays whether the current PIF
  891. setting allows the DOS session to run in the background (that
  892. is, whether the DOS session runs when it is not the current
  893. window).
  894.  
  895.  
  896.  
  897. Typing BACKGROUND ON changes the PIF setting so the DOS session
  898. is allowed to run in the background.
  899.  
  900.  
  901.  
  902. BACKGROUND OFF prevents the DOS session from running in the
  903. background. The background status is always displayed when this
  904. command is used.
  905.  
  906.  
  907.  
  908. BOXSWITC[H] {ON or OFF}
  909.  
  910.  
  911.  
  912. The BOXSWITCH command enables or disables the ability to switch
  913. away from the current DOS session back to Windows (with Alt+Tab
  914. or Alt+Esc, for example).
  915.  
  916.  
  917.  
  918. Typing BOXSWITCH OFF disables the ability to switch away. You
  919. might want to use this command in a batch file before starting
  920. some task that should not be interrupted, such as a
  921. communications program or IBM 3270 terminal emulation program.
  922.  
  923.  
  924.  
  925. BOXSWITCH ON reverses the effect of BOXSWITCH OFF, and enables
  926. normal switching from the DOS session to Windows.  Using these
  927. commands, or typing BOXSWITCH by itself, displays the status of
  928. the current DOS session.
  929.  
  930.  
  931.  
  932. BOXTIME
  933.  
  934.  
  935.  
  936. The BOXTIME command begins and ends a timer that tells you how
  937. much clock time has elapsed, and what percentage of that time
  938. your DOS session had control of your processor's central
  939. processing unit (CPU).
  940.  
  941.  
  942.  
  943. Typing BOXTIME the first time sets a system-wide timer and a DOS
  944. session (box) timer to zero.
  945.  
  946.  
  947.  
  948. Typing BOXTIME a second time displays the elapsed time
  949. system-wide (the time you would see on a wall clock), the
  950. elapsed time that the DOS session was given by Windows, and the
  951. percentage that represents. The elapsed times are displayed in
  952. milliseconds. One millisecond is 1/1000 of a second. To convert
  953. milliseconds to seconds, if desired, place a decimal point three
  954. places from the right end of the number. (Note: The DOS timer
  955. cannot measure times smaller than 55 milliseconds.)
  956.  
  957.  
  958.  
  959. The BOXTIME command is useful to find out how much time a DOS
  960. application is getting under various PIF settings. For example,
  961. you might create a PIF file that gives a DOS session 100 units
  962. of time when it is in the foreground and 50 units of time in the
  963. background (these are the Windows default settings). These
  964. settings might or might not give your DOS application enough
  965. time to get its work done when minimized or put in the
  966. background. Programs that communicate with remote computers,
  967. sort databases, or recalculate spreadsheets can benefit from
  968. "tuning" PIF settings.
  969.  
  970.  
  971.  
  972. Example: To find out what percentage of CPU time the DOS version
  973. of Lotus 1-2-3 gets under certain PIF settings, you might start
  974. a DOS session and type the following commands:
  975.  
  976.  
  977.  
  978.     BOXTIME
  979.  
  980.     123 MYSHEET.WK1
  981.  
  982.  
  983.  
  984. Once 1-2-3 is loaded, start a macro that recalculates the
  985. spreadsheet over and over. Then press Alt+Tab to return to
  986. Windows. After a few moments, press Alt+Tab until Lotus 1-2-3
  987. appears. Stop the macro and exit Windows.
  988.  
  989.  
  990.  
  991. At the DOS command line, type BOXTIME. This command will display
  992. the percentage of CPU time that Lotus 1-2-3 received from
  993. Windows in this situation. If you want the DOS application to
  994. get more or less time, change the background setting in the PIF
  995. until you get the desired results. The percentage of time that a
  996. DOS session gets in the background depends on the PIF settings
  997. and on what other DOS applications are running under Windows.
  998.  
  999.  
  1000.  
  1001. The most important PIF settings are: Foreground Priority,
  1002. Background Priority, Background Execution, and Exclusive
  1003. Execution. The following Windows settings, which are set in the
  1004. Control Panel's 386 Enhanced dialog box, are also important:
  1005. Foreground Priority, Background Priority, and Minimum Time
  1006. Slice. You can change all of these PIF settings, and the Minimum
  1007. Time Slice setting, using the following EDOS commands: PRIF,
  1008. PRIB, BACKGROUND, EXCLUSIVE, and SLICE. See the explanation of
  1009. these commands elsewhere in this document. You can also track
  1010. the system-wide time using the EDOS command SYSTIME, which is
  1011. explained in its own section.
  1012.  
  1013.  
  1014.  
  1015. CLIPBOAR[D]    
  1016.  
  1017. CLIPBOAR[D]  /VIEW
  1018.  
  1019. CLIPBOAR[D]  /V > LPT1
  1020.  
  1021. CLIPBOAR[D]  /V > filename
  1022.  
  1023.  
  1024.  
  1025. The CLIPBOARD command reports whether there is any text
  1026. currently stored in the Windows Clipboard and, if so, how many
  1027. characters are in memory.
  1028.  
  1029.  
  1030.  
  1031. The CLIPBOARD /VIEW command (which can be abbreviated as
  1032. CLIPBOARD/V) displays any text that is in the Clipboard.
  1033.  
  1034.  
  1035.  
  1036. This text can be sent to any text printer attached to your PC,
  1037. or any file, by adding a greater-than (>) symbol -- which
  1038. redirects the output -- and a port name or filename. This is
  1039. useful because the Windows Clipboard Viewer has no way to send
  1040. text to a printer or save plain-text files. For example:
  1041. CLIPBOARD /V > LPT1 sends text from the Clipboard to the current
  1042. printer on your LPT1 port (Line Printer 1).
  1043.  
  1044.  
  1045.  
  1046. Most PCs have one to three parallel printer ports -- LPT1, LPT2,
  1047. LPT3 -- and one to four serial communications ports -- COM1,
  1048. COM2, COM3, COM4. You can redirect printing to any of these
  1049. ports that currently has a working text printer. By specifying a
  1050. valid DOS filename after the greater-than (>) symbol, you can
  1051. save text in the Clipboard into a text file.
  1052.  
  1053.  
  1054.  
  1055. For example: CLIPBOARD /V > C:\DATA\MYFILE.TXT saves the text
  1056. contents of the Clipboard into a file called MYFILE.TXT in the
  1057. DATA directory of your C: drive. If you do not specify a drive
  1058. and directory name, DOS saves the file in whatever is the
  1059. current directory. The output of most EDOS commands can be
  1060. redirected to a printer or file in the same way.
  1061.  
  1062.  
  1063.  
  1064. DOSMEM {kilobytes}
  1065.  
  1066. DOSMEM /P
  1067.  
  1068. DOSMEM /X
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074. Typing DOSMEM by itself displays the amount of memory in the
  1075. current DOS session. For example:
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081. Memory size= 640 K bytes, Free=609K bytes. 0K bytes can be
  1082. added, From= 2340K
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088. DOSMEM followed by a number in kilobytes (K) adds memory, if
  1089. possible, to the current DOS session. For example: DOSMEM 200
  1090. adds 200K to the DOS session. It is a good idea to leave at
  1091. least 50K unused in the global memory pool. For example, if 172K
  1092. is left, use no more than 120K. This prevents possible
  1093. situations where Windows might not be able to switch graphics
  1094. modes for that DOS session. This information can be useful when
  1095. setting PIF files for different DOS sessions and applications.
  1096.  
  1097.  
  1098.  
  1099. The  /P switch lets you add memory past the 640KB barrier, up to
  1100. 704KB.  Similarly the /X switch lets you add memory up to 736KB.
  1101. These extra large EDOS sessions cannot be used to run programs
  1102. that need graphics support. If you attempt to run such a
  1103. program, a warning message will display and you will have to
  1104. kill the session.,
  1105.  
  1106.  
  1107.  
  1108. The /P and /X options can be disabled by using the 
  1109. EDOS640KPlus=0   line in the [edos] section of SYSTEM.INI
  1110.  
  1111.  
  1112.  
  1113. The /X option can be disabled by using the  EDOS704KPlus=0  
  1114. line in the [edos] section of SYSTEM.INI
  1115.  
  1116.  
  1117.  
  1118. DOSMEM /V prints a detailed information about the DOS session.
  1119. It is  intended for trouble shooting.
  1120.  
  1121.  
  1122.  
  1123. If DOSMEM /X or the 736kb icon will not create an oversized DOS
  1124. session, try installing the EDOSReserveB0=0 setting in
  1125. SYSTEM.INI. See notes about this switch. In some cases this will
  1126. let the 736kb sessions work.
  1127.  
  1128.  
  1129.  
  1130. NOTE:    The DOSMEM command can only be used to add memory to a DOS
  1131. session one time. Further, /P and /X can only be used in a 640kb
  1132. session. The   !DOSMEM!.COM file can be run from a PIF to start
  1133. an oversized session. It is the recommended method. There is a
  1134. ADVANCED.TXT file on the installation disk.  It contains info
  1135. about the oversize DOS sessions. 
  1136.  
  1137.  
  1138.  
  1139. For example:    !DOSMEM!.COM  /p  
  1140.  
  1141.     !DOSMEM!.COM  /x
  1142.  
  1143. EDOSEXIT
  1144.  
  1145.  
  1146.  
  1147. The EDOSEXIT command will return the error code (1 = failure, 0
  1148. = success) from the previously executed internal EDOS command.
  1149. For example, if you use the DOSMEM command to get more memory,
  1150. and the attempt fails, EDOSEXIT will return a 1 as an error
  1151. code. If the attempt succeeds EDOSEXIT will return a 0, if EDOS
  1152. is not installed, EDOSEXIT will return 10. For example,
  1153.  
  1154.  
  1155.  
  1156.     DOSMEM  /P
  1157.  
  1158.     EDOSEXIT
  1159.  
  1160.     IF ERRORLEVEL 1 GOTO DOSMEM_FAILED
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166. NOTE:     See the EXITCODE.BAT in the EDOS subdirectory for a
  1167. examples of  using EDOSEXIT.
  1168.  
  1169.  
  1170.  
  1171.  EMS
  1172.  
  1173.  
  1174.  
  1175. The EMS command displays the Expanded Memory Settings in the PIF
  1176. for the current DOS session. An example of the display of the
  1177. EMS command is as follows:
  1178.  
  1179. EMS Required=   0K, Limit=   1024K, Locked=N
  1180.  
  1181. EMS Free=    0K, EMS Total=    0K, Page Frame Address= E000 hex
  1182.  
  1183.  
  1184.  
  1185. Expanded memory settings cannot be changed once the session has
  1186. started.  See the related command, XMS, which displays eXtended
  1187. Memory Settings.
  1188.  
  1189.  
  1190.  
  1191. NOTE:     See the ADVANCED.TXT file for more information about
  1192. Windows and EMS.
  1193.  
  1194. EXCLUSIV[E] {ON or OFF}
  1195.  
  1196.  
  1197.  
  1198. The EXCLUSIVE command allows you to display or change the
  1199. ability of the current DOS session to claim 100% of the PC's
  1200. central processing unit (CPU) time, when the DOS session is
  1201. running full-screen.
  1202.  
  1203.  
  1204.  
  1205. Typing EXCLUSIVE by itself displays only the message "Exclusive
  1206. ON" or "Exclusive OFF," whichever setting is in effect.
  1207.  
  1208.  
  1209.  
  1210. EXCLUSIVE ON immediately suspends any programs that may be in
  1211. the background, including Windows itself. Windows maintains a
  1212. small segment of memory to look for signs that you are closing
  1213. or switching away from the current DOS session (with Alt+Tab or
  1214. Alt+Esc, for example). This can cause communications programs in
  1215. the background to lose data or their connection with another
  1216. computer system. Don't use EXCLUSIVE ON if you want such
  1217. communications programs to continue to run in the background.
  1218.  
  1219.  
  1220.  
  1221. EXCLUSIVE OFF returns the DOS session to the Foreground and
  1222. Background settings that are already set in the PIF file for
  1223. that DOS session. Applications in the background, including
  1224. Windows, begin receiving time again.
  1225.  
  1226.  
  1227.  
  1228. NOTE: When a full-screen DOS session is windowed -- as with the
  1229. key combination Alt+Enter -- it does not run in Exclusive mode,
  1230. regardless of the Exclusive setting. A windowed DOS session,
  1231. which is possible only in Windows 386 enhanced mode, gets only
  1232. as much time as Windows allows it and all other applications.
  1233.  
  1234.  
  1235.  
  1236. ISWIN
  1237.  
  1238.  
  1239.  
  1240. The ISWIN command sets the DOS Errorlevel, depending on whether
  1241. Windows is running or not. If you are in a DOS session under
  1242. Windows, ISWIN sets the Errorlevel to a value of 3 to indicate
  1243. that Windows 3.x is running. If Windows is not running, ISWIN
  1244. sets the Errorlevel to a value of zero (0).
  1245.  
  1246.  
  1247.  
  1248. Certain DOS commands -- such as CHKDSK/F, ASSIGN and FASTOPEN --
  1249. should not be used if Windows is running. (See the sections on
  1250. DOS Commands Modified and Disabled later in this document.) You
  1251. can use ISWIN to test for this in a batch file, and avoid using
  1252. dangerous DOS commands if Windows is running. For example, the
  1253. following short batch file, ASSIGNAB.BAT, avoids assigning
  1254. floppy drive A: to the letter B: (as you would do to install
  1255. software in drive B: that recognizes only drive A:) if Windows
  1256. is running:
  1257.  
  1258.  
  1259.  
  1260.     ECHO OFF
  1261.  
  1262.     ISWIN
  1263.  
  1264.     IF NOT ERRORLEVEL 3 ASSIGN A=B
  1265.  
  1266.  
  1267.  
  1268. This batch file keeps the command ASSIGN A=B from running under
  1269. Windows, because the condition "If the Errorlevel is not 3 or
  1270. higher" is FALSE when Windows is running. But it would be better
  1271. to inform the user as to why the command did not work.
  1272. Therefore, the following batch file would be another, better way
  1273. to handle this:
  1274.  
  1275.  
  1276.  
  1277.     ECHO OFF
  1278.  
  1279.     ISWIN
  1280.  
  1281.     IF ERRORLEVEL 3 GOTO UNDERWIN
  1282.  
  1283.     ASSIGN A=B
  1284.  
  1285.     GOTO END
  1286.  
  1287.     :UNDERWIN
  1288.  
  1289.     ALARM 1 "You must exit Windows before running Assign"
  1290.  
  1291.     :END
  1292.  
  1293.  
  1294.  
  1295. You can, of course, substitute for "ASSIGN A=B" any DOS command
  1296. or application that you don't want to run under Windows.
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304. PIF
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310. The PIF command displays the Program Information File settings
  1311. for the current DOS session.
  1312.  
  1313.  
  1314.  
  1315. Following is an example of the PIF command display:
  1316.  
  1317.  
  1318.  
  1319. DOS Session ID #   2
  1320.  
  1321. Exec Cmd. = C:\WINDOWS\EDOS\BIGDOS.PIF
  1322.  
  1323. Program = C:\COMMAND.COM
  1324.  
  1325. Command Tail =  /E:512
  1326.  
  1327. Work Directory = C:
  1328.  
  1329. DOS Required= 128K, Limit= 640K, Locked=?
  1330.  
  1331. EMS Required=   0K, Limit=   0K, Locked=N
  1332.  
  1333. XMS Required=   0K, Limit=   0K, Locked=N
  1334.  
  1335. Text Emulate
  1336.  
  1337. No Trap Text
  1338.  
  1339. No Trap Low Res Graphics
  1340.  
  1341. No Trap High Res Graphics
  1342.  
  1343. Video Text Mode=16k
  1344.  
  1345. Retain Allocation
  1346.  
  1347. VDD Bits = 009F  , VM Status        00006000
  1348.  
  1349. Video Type = VIDEOVGA
  1350.  
  1351. =====================================
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359. This information is primarily intended for programmers and
  1360. advanced users who need control over a variety of PIF settings.
  1361. An explanation of each PIF setting is available in the Windows
  1362. manual. Or you can run the Windows PIF Editor, place the cursor
  1363. in an option box and press F1 to display Help on that option.
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369. PRIB {priority}
  1370.  
  1371.  
  1372.  
  1373. The PRIB (Priority Background) command allows you to display or
  1374. change the Background Execution priority of the current DOS
  1375. session.
  1376.  
  1377.  
  1378.  
  1379. Typing PRIB by itself displays the current Background Priority.
  1380.  
  1381.  
  1382.  
  1383. Typing PRIB followed by a number, such as PRIB 200, sets the
  1384. Background Priority for the current DOS session to that number,
  1385. regardless of the PIF setting for that session. The Background
  1386. Priority of a DOS session can be any number from 1 to 10000. 
  1387. (10000 is a special, high priority flag)
  1388.  
  1389.  
  1390.  
  1391. If you increase a DOS session's Background Priority to 10000, it
  1392. theoretically gets all CPU time from Windows until the DOS
  1393. application becomes "idle." Then, Windows starts giving some
  1394. time to other applications in the background. The amount of time
  1395. Windows actually gives a DOS session set to 10000 varies
  1396. depending upon the application.
  1397.  
  1398.  
  1399.  
  1400. A DOS session's Background Priority can be reduced to zero
  1401. (totally suspended when in the background) by using the EDOS
  1402. command BACKGROUND OFF. You can also set  Background Execution
  1403. off in the DOS session's PIF file, or by using the System menu
  1404. while the DOS session is windowed. When you turn the Background
  1405. Execution box off, using any of the methods, Windows ignores the
  1406. DOS session's current setting for Background Priority.
  1407.  
  1408.  
  1409.  
  1410. PRIF {priority}
  1411.  
  1412.  
  1413.  
  1414. The PRIF (Priority Foreground) command allows you to display or
  1415. change the Foreground Execution priority of the current DOS
  1416. session.
  1417.  
  1418.  
  1419.  
  1420. Typing PRIF by itself displays the current Foreground Priority.
  1421.  
  1422.  
  1423.  
  1424. Typing PRIF followed by a number, such as PRIF 2000, sets the
  1425. Foreground Priority for the current DOS session to that number,
  1426. regardless of the PIF setting for that session. The Foreground
  1427. Priority of a DOS session can be any number from 1 to 10000. If
  1428. you increase a DOS session's Foreground Priority to 10000, it
  1429. theoretically gets all CPU time from Windows until the DOS
  1430. application becomes "idle." Then, Windows starts giving some
  1431. time to other applications in the background. The amount of time
  1432. Windows actually gives a DOS session set to 10000 varies
  1433. depending upon the application.
  1434.  
  1435.  
  1436.  
  1437. A DOS session's foreground priority can be increased so no other
  1438. applications will run at all in the background by using the EDOS
  1439. command EXCLUSIVE. You can also set the Exclusive Execution box
  1440. on in a DOS session's PIF file, or using the System menu while
  1441. the DOS session is windowed. When you turn the Exclusive
  1442. Execution box on, using any of the methods, Windows ignores the
  1443. DOS session's current setting for Foreground Priority, and gives
  1444. the DOS session all CPU time while it is running full-screen.
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450. SLICE {millseconds]
  1451.  
  1452.  
  1453.  
  1454. The SLICE command allows you to display or change the Minimum
  1455. Time Slice that Windows uses when allocating time to DOS
  1456. sessions and the Windows System session.
  1457.  
  1458.  
  1459.  
  1460. Typing SLICE by itself displays the current setting for Minimum
  1461. Time Slice. (Windows currently defaults to 20 milliseconds --
  1462. 0.020 seconds or 1/50th of a  second -- unless you change it.)
  1463.  
  1464.  
  1465.  
  1466. Typing SLICE followed by a number, such as SLICE 10, changes the
  1467. Minimum Time Slice to that number, in milliseconds. You can
  1468. seriously slow down the performance of Windows and DOS sessions
  1469. if you set the Minimum Time Slice too high or too low.
  1470.  
  1471.  
  1472.  
  1473. Windows uses the Minimum Time Slice to make sure that each
  1474. session gets enough time to do meaningful work before Windows
  1475. switches the CPU to some other application. A Minimum Time Slice
  1476. of 20 means that each application gets at least 1/50th of a
  1477. second before Windows switches away from it.
  1478.  
  1479.  
  1480.  
  1481. On a 386-based PC or higher, applications may not need this long
  1482. to get useful work done. This is particularly true if only one
  1483. application is doing any meaningful work at a time (no
  1484. applications are, say, printing in the background).
  1485.  
  1486.  
  1487.  
  1488. You may get better overall performance by changing Minimum Time
  1489. Slice to 15, 10, or 5. You can test the effect of your change by
  1490. using the BOXTIME command to see how much CPU time your DOS
  1491. sessions are getting from Windows.
  1492.  
  1493.  
  1494.  
  1495. The Minimum Time Slice setting can also be changed through the
  1496. Control Panel's 386 Enhanced dialog box. The icon for this
  1497. dialog box only appears in the Control Panel if Windows is
  1498. running in 386 enhanced mode.
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504. STATUS
  1505.  
  1506. STATUS /L
  1507.  
  1508. STATUS /V
  1509.  
  1510. STATUS/X
  1511.  
  1512.  
  1513.  
  1514. The STATUS or (EDOS) commands displays the status of all Windows
  1515. and DOS sessions, in various levels of detail.
  1516.  
  1517.  
  1518.  
  1519. Typing STATUS by itself displays brief information on the
  1520. current DOS session, as well as the session in which Windows
  1521. itself is running. The information shown includes the current
  1522. PIF settings for Foreground and Background Priority, Background
  1523. and Exclusive Execution, Memory in Use (Mapped) and Memory
  1524. Available (Not Mapped).
  1525.  
  1526.  
  1527.  
  1528. STATUS/L lists this information for all the sessions currently
  1529. running. This includes any other DOS sessions that are running,
  1530. in addition to the one in which the command was typed.
  1531.  
  1532.  
  1533.  
  1534. NOTE:    EDOS itself starts a tiny, invisible DOS session, which is
  1535. necessary to enable EDOS features. For this reason, you will
  1536. always see at least one DOS session other than the one you are
  1537. currently using. The invisible EDOS session is identified as ID
  1538. #1, while the Windows session is always ID #0. Therefore, your
  1539. current DOS session will be numbered ID #2 or higher.
  1540.  
  1541.  
  1542.  
  1543. STATUS/V is a verbose listing, which displays all status
  1544. information. This display is intended only for programmers or
  1545. advanced users, and looks similar to the following:
  1546.  
  1547. Enhanced DOS for Windows Version 3.50E
  1548.  
  1549. Free Memory: No Lock or Fix=   17676K, Lockable=    5988K
  1550.  
  1551. Swap File Size=   8192 K, Type= DOS/BIOS
  1552.  
  1553. Total Paging Mem= 27632K, Free =  17676K  In Use Total=  9956
  1554. Kc, Contig=Y
  1555.  
  1556. Windows Physical Memory Total=  7668K, Free=  1676K
  1557.  
  1558. Physical UnLocked(in use)=   4340Kc, Unlocked=    6016K
  1559.  
  1560. Real Physical Memory Base=   640K, Extended=  7552K, Total = 
  1561. 8192K
  1562.  
  1563. EMS Free=    0K, EMS Total=    0K, Page Frame Address= E000 hex
  1564.  
  1565. PageOutCount=   1 
  1566.  
  1567. Xlate Buffer Segment= D900hex, Size    8192 bytes. First DOS
  1568. Segment=2200h
  1569.  
  1570. Global Min. Time Slice=   5 ms.
  1571.  
  1572.  
  1573.  
  1574. Current DOS Session
  1575.  
  1576. Background=N,   Exclusive=N
  1577.  
  1578. Foreground Priority=1000, Background Priority=  100, CPU Time=
  1579. 100%
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585. Perhaps the most important information in this verbose listing
  1586. is the Windows Physical Memory Total and Free. Physical Memory,
  1587. which in this example is 7668K, is the total amount of RAM
  1588. (conventional and extended) that Windows has to run programs in.
  1589. Free memory is the amount of this physical memory that is left
  1590. for Windows to open more programs or data. When free memory
  1591. falls to zero, Windows is forced to use hard disk space (virtual
  1592. memory) to satisfy all requests to open more programs or data.
  1593. This seriously slows performance.
  1594.  
  1595.  
  1596.  
  1597. STATUS /X indicates whether EDOSLIB is installed, loaded and
  1598. working.
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604. SYSTIME
  1605.  
  1606.  
  1607.  
  1608. The SYSTIME command begins and ends a timer that tells you how
  1609. much clock time has elapsed.
  1610.  
  1611.  
  1612.  
  1613. Typing SYSTIME the first time sets a system-wide timer to zero.
  1614. Typing SYSTIME a second time displays the elapsed time
  1615. system-wide. (This is the same time you would see on a wall
  1616. clock.) The elapsed times are displayed in milliseconds. One
  1617. millisecond is 1/1000 of a second. To convert milliseconds to
  1618. seconds, if desired, place a decimal point three places from the
  1619. right end of the number.
  1620.  
  1621.  
  1622.  
  1623. A related, and more powerful command, is BOXTIME. BOXTIME
  1624. measures elapsed system time, plus measures the time that the
  1625. current DOS session received from Windows -- in milliseconds and
  1626. as a percentage of total system time. See the description of
  1627. BOXTIME earlier in this document.
  1628.  
  1629.  
  1630.  
  1631. XMS
  1632.  
  1633.  
  1634.  
  1635. The XMS command displays the eXtended Memory Settings in the PIF
  1636. for the current DOS session. An example of the display of the
  1637. XMS command is as follows:
  1638.  
  1639. XMS Required=   0K, Limit=   1024K, Locked=N
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645. Extended memory settings cannot be changed once the session has
  1646. started. See the related command , EMS, which displays Expanded
  1647. Memory Settings.
  1648.  
  1649. DOS Commands Modified Under Windows
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655. EDOS modifies the behavior of a few DOS commands for best use
  1656. under Windows. EDOS also totally disables some DOS commands,
  1657. which are described later in this document in the section "DOS
  1658. Commands Disabled Under Windows." The modification, and the
  1659. reason for each, is described below.
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665. CHKDSK
  1666.  
  1667.  
  1668.  
  1669. The command CHKDSK /F is not allowed to run. Other uses of
  1670. CHKDSK are not modified.
  1671.  
  1672.  
  1673.  
  1674. CHKDSK /F scrambles open files under Windows.
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680. DATE
  1681.  
  1682.  
  1683.  
  1684. The system date is displayed, but cannot be changed from the
  1685. command line.
  1686.  
  1687.  
  1688.  
  1689. The system date should always be changed using the Windows
  1690. Control Panel's Date/Time dialog box (when Windows is running).
  1691. This prevents Windows applications from becoming confused.
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697. MEM
  1698.  
  1699.  
  1700.  
  1701. When EDOS is running, the MEM command provides additional
  1702. information that is not displayed by the MEM command in DOS 4.x
  1703. and 5.x. The most useful information in this display is Windows
  1704. Physical Memory Total and Free. When Free falls to zero, Windows
  1705. performance slows significantly, as requests to open more
  1706. programs or data are forced to use disk space (virtual memory)
  1707. instead of RAM. For more information, see the explanation of the
  1708. STATUS command earlier in this document. 
  1709.  
  1710.  
  1711.  
  1712. The information displayed by the EDOS MEM command is similar to
  1713. the following:
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719. Windows Memory Information
  1720.  
  1721. Total Paging Mem= 27632K, Free =  17548K  In Use Total= 10084
  1722. Kc, Contig=Y
  1723.  
  1724. Windows Physical Memory Total=  7668K, Free=  1608K
  1725.  
  1726. Physical UnLocked(in use)=   4404Kc, Unlocked=    6012K
  1727.  
  1728. Real Physical Memory Base=   640K, Extended=  7552K, Total = 
  1729. 8192K
  1730.  
  1731. DOS Memory Information
  1732.  
  1733.  
  1734.  
  1735.     655360 bytes total conventional memory
  1736.  
  1737.     655360 bytes available to MS-DOS
  1738.  
  1739.     512720 largest executable program size
  1740.  
  1741.  
  1742.  
  1743.          0 bytes total EMS memory
  1744.  
  1745.          0 bytes free EMS memory
  1746.  
  1747.  
  1748.  
  1749.    7733248 bytes total contiguous extended memory
  1750.  
  1751.          0 bytes available contiguous extended memory
  1752.  
  1753.          0 bytes available XMS memory
  1754.  
  1755.            High Memory Area in use
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761. Print Screen
  1762.  
  1763.  
  1764.  
  1765. Under EDOS, pressing the Print Screen (PrtScr) key in a DOS
  1766. session always prints the DOS screen to the printer on LPT1.
  1767. Under Windows, pressing Print Screen in a DOS session only
  1768. copies the screen into the Windows Clipboard, and does not print
  1769. anything.
  1770.  
  1771.  
  1772.  
  1773. If you wish to copy the screen of a DOS session into the
  1774. Clipboard, press Alt+PrintScreen, which copies all text of a
  1775. full-screen DOS session into the Clipboard. If the DOS session
  1776. is windowed, Alt+PrintScreen copies the DOS session screen into
  1777. the Clipboard. It can then be pasted into other Windows
  1778. applications.
  1779.  
  1780.  
  1781.  
  1782. NOTE:     The behavior of Print Screen can be changed. See the
  1783. EDOSPrtScr switch.
  1784.  
  1785. TIME
  1786.  
  1787.  
  1788.  
  1789. The system time is displayed, but cannot be changed from the
  1790. command line.  The system time should always be changed using
  1791. the Windows Control Panel's Date/Time dialog box (when Windows
  1792. is running). This prevents Windows applications from becoming
  1793. confused.
  1794.  
  1795. WIN
  1796.  
  1797.  
  1798.  
  1799. The WIN command takes you back to Windows desktop. DOS Commands Disabled Under Windows
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807. EDOS disables the following DOS commands while Windows is
  1808. running. These commands have negative effects if used in a DOS
  1809. session under Windows. In some cases, these commands work fine
  1810. as long as they are used before Windows is started, but not in a
  1811. DOS session. It is still possible for a user to run some
  1812. commands that have been disabled in this way. For example, if
  1813. you include a complete path in front of the command (as in
  1814. C:\DOS\CHKDSK /F) it usually will run.
  1815.  
  1816.  
  1817.  
  1818. If you wish to prevent this absolutely (instead of guarding
  1819. against casual errors, as EDOS is designed to do), contact the
  1820. publishers of EDOS for a copy of WINSAFE. This utility traps the
  1821. actions of commands such as CHKDSK /F, instead of watching the
  1822. command line for disabled commands.
  1823.  
  1824.  
  1825.  
  1826. APPEND
  1827.  
  1828.  
  1829.  
  1830. AP PEND makes the contents of one directory appear to actually
  1831. exist in whatever is the current directory. This is useful for
  1832. programs that do not recognize multiple directories.
  1833.  
  1834.  
  1835.  
  1836. Unfortunately, APPEND works only for disk reads. Programs that
  1837. write data may write it into the incorrect directory. APPEND
  1838. confuses Windows as to the actual location of directories. This
  1839. command should not be used while Windows is running.
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. ASSIGN
  1846.  
  1847.  
  1848.  
  1849. ASSIGN changes one drive letter so it appears to be another
  1850. drive letter. The command ASSIGN A=B, for example, makes
  1851. commands to drive A: actually occur to drive B:. This is useful
  1852. when installing software in drive B: that does not recognize
  1853. floppy drives other than A:.
  1854.  
  1855.  
  1856.  
  1857. This command confuses Windows about the true drive letters in
  1858. use on a PC. This command should not be used while Windows is
  1859. running.
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867. CHKDSK /F
  1868.  
  1869.  
  1870.  
  1871. CHKDSK /F is used to "fix" files that are corrupted. But under
  1872. Windows, it actually corrupts files that are currently open, as
  1873. several files may be when Windows is running.
  1874.  
  1875.  
  1876.  
  1877. CHKDSK /F  is disabled, but other uses of CHKDSK are not
  1878. modified.
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884. DOSX
  1885.  
  1886.  
  1887.  
  1888. DOSX.EXE is very dangerous to run from inside Windows. It can
  1889. cause corruption of your disk and GREAT DAMAGE. Be very careful
  1890. that you don't accidently run it from Norton Desktop or similar
  1891. shell, such that you have it selected and then bump the enter
  1892. key. Suggest that if you do not run Windows in Standard mode
  1893. that you delete DOSX.EXE from your disk. DOSX has been added to
  1894. the list of commands disabled by EDOS.
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900. FASTOPEN
  1901.  
  1902.  
  1903.  
  1904. FASTOPEN provides small buffers for directory reads. These
  1905. buffers confuse Windows. This command should not be used while
  1906. Windows is running.
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912. FDISK
  1913.  
  1914.  
  1915.  
  1916. FDISK partitions a hard drive, erasing all data on it. This
  1917. command obviously should not be used while Windows is running.
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925. FORMAT
  1926.  
  1927.  
  1928.  
  1929. The FORMAT command erases both hard disks and floppy diskettes.
  1930.  
  1931.  
  1932.  
  1933. Formatting diskettes should be done using the Windows File
  1934. Manager, which does not allow accidental formatting of hard
  1935. disks. Formatting hard disks should not be done while Windows is
  1936. running.
  1937.  
  1938.  
  1939.  
  1940. JOIN
  1941.  
  1942.  
  1943.  
  1944. The JOIN command makes a directory on one drive appear to
  1945. actually be a directory on another drive. This is useful for
  1946. programs that can change directories but not drives.
  1947.  
  1948.  
  1949.  
  1950. JOIN confuses Windows as to the actual location of directories.
  1951. This command should not be executed after Windows is started.
  1952.  
  1953.  
  1954.  
  1955. RECOVER
  1956.  
  1957.  
  1958.  
  1959. RECOVER is intended to be used only on disks that are severely
  1960. corrupted. It cuts files into small sectors and renames them
  1961. FILE0001.REC, FILE0002.REC, and so on. This is useful if a disk
  1962. is so corrupted that data can be recovered only be examining
  1963. every sector manually and recombining the files.
  1964.  
  1965.  
  1966.  
  1967. This command should not be used while Windows is running, and
  1968. has almost no legitimate use by PC users.
  1969.  
  1970.  
  1971.  
  1972. SUBST
  1973.  
  1974.  
  1975.  
  1976. The SUBST command makes the contents of one directory appear to
  1977. actually be in the root directory of another drive letter
  1978. (usually a nonexistent hard drive letter). This is useful for
  1979. programs that cannot change directories but can change drives.
  1980.  
  1981.  
  1982.  
  1983. SUBST confuses Windows as to the true location of directories.
  1984. It should not be executed  after Windows is started..
  1985.  
  1986. Disabling Other DOS Commands
  1987.  
  1988.  
  1989.  
  1990. It is possible to use EDOS to disable up to 20 DOS commands 
  1991. under Windows, in addition to the ones described above. This is
  1992. accomplished by adding a line to the [edos] section of the
  1993. SYSTEM.INI file, as described in the section "[edos] Settings in
  1994. SYSTEM.INI" elsewhere in this document.
  1995.  
  1996.  
  1997.  
  1998. For example, The SELECT command is used by some versions of DOS
  1999. to format a hard disk and install the DOS "hidden files," in
  2000. preparation for the full installation of DOS itself. Other
  2001. versions, notably 4DOS, do not use SELECT in this way.
  2002. Therefore, it has not been crippled by EDOS. You, however, might
  2003. choose to do so.
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011. [edos] Settings In SYSTEM.INI
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017. Several settings may be customized in the [edos] section of the
  2018. SYSTEM.INI file. Ordinarily you will not need to set any
  2019. switches. The information is provided only in the interests of
  2020. completeness.  Unless otherwise noted, you can use True or 1 to
  2021. turn a feature on and False or 0 to turn a feature off.
  2022.  
  2023.  
  2024.  
  2025. There are also several SYSTEM.INI switches intended for tracking
  2026. down bugs in Windows. These switches are not documented in the
  2027. manual, but are available if you need technical support.When
  2028. EDOS is installed, switches are set as follows:
  2029.  
  2030.  
  2031.  
  2032. [edos]
  2033.  
  2034. EDOSAltF4=TRUE
  2035.  
  2036. EDOSPrtScr=TRUE
  2037.  
  2038. EDOSInbrdPC=FALSE
  2039.  
  2040. EDOSCommand=
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046. These statements are not case-sensitive. Changes can be made to
  2047. these settings with any text editor (such as Notepad or DOS5 
  2048. EDIT), but not with word processors that save files in special
  2049. non-text formats.
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055. DOSPromptExitInstruc=
  2056.  
  2057.  
  2058.  
  2059. DOSPromptExitInstruc=False     will disable the exit to windows
  2060. message that displays in every             DOS session in Windows 3.1.
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066. EDOS640KPlus=
  2067.  
  2068.  
  2069.  
  2070. EDOS640KPlus=True    Enables 704k and 736k DOS sessions.
  2071.  
  2072.  
  2073.  
  2074. EDOS704KPlus=
  2075.  
  2076.  
  2077.  
  2078. EDOS704KPlus=True    Enables 736k DOS sessions.
  2079.  
  2080.  
  2081.  
  2082. NOTE:     DOS sessions over 640k cannot run applications in
  2083. graphics mode, since they are stealing memory needed for graphic
  2084. display.
  2085.  
  2086.  
  2087.  
  2088. EDOSAltF4=
  2089.  
  2090.  
  2091.  
  2092. The EDOSAltF4= statement controls whether EDOS closes the
  2093. current DOS session when Alt+F4 is pressed, as Windows does with
  2094. Windows applications. To disable this behavior, and force DOS
  2095. sessions to be closed by typing EXIT, change TRUE to FALSE.
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101. EDOSCommand=
  2102.  
  2103.  
  2104.  
  2105. The EDOSCommand= statement is used to disable DOS command lines
  2106. from executing while Windows is running. For example, to disable
  2107. the command "SK" (in order to disable Sidekick from running
  2108. under Windows), add a line as follows:
  2109.  
  2110. [edos]
  2111.  
  2112. EDOSCommand=SK
  2113.  
  2114.  
  2115.  
  2116. Similarly to disable both Sidekick and the Norton Utilities the
  2117. following EDOS Commands would be used.
  2118.  
  2119.  
  2120.  
  2121. EDOSCommand=SK
  2122.  
  2123. EDOSCommand=NU
  2124.  
  2125.  
  2126.  
  2127. It is still possible for a user to run some commands that have
  2128. been disabled in this way. For example, if you include a
  2129. complete path in front of the command (as in C:\DOS\CHKDSK /F)
  2130. it usually will run. If you wish to prevent this absolutely
  2131. (instead of guarding against casual errors, as EDOS is designed
  2132. to do), contact the publishers of EDOS for a copy of WINSAFE.
  2133. This utility traps the actions of commands such as CHKDSK /F,
  2134. instead of watching the command line for disabled commands.
  2135.  
  2136.  
  2137.  
  2138. NOTE:    Up to 20 commands can be disabled.
  2139.  
  2140. EDOSCtrlP=
  2141.  
  2142.  
  2143.  
  2144. EDOSCtrlP=False    Disables CTRL+P which allows for copying screen
  2145. output to the             printer.
  2146.  
  2147. EDOSDisable=
  2148.  
  2149.  
  2150.  
  2151. EDOSDisable=0    disables/enables EDOS loading.  True and False
  2152. cannot be used for             this  command. Use 0 or 1.
  2153.  
  2154. EDOSExecWinApp=
  2155.  
  2156.  
  2157.  
  2158. EDOSExecWinApp=True    Enables executing Windows applications from
  2159. the DOS command             line.  
  2160.  
  2161. EDOSFaultFlag=
  2162.  
  2163.  
  2164.  
  2165. EDOSFaultFlag=True    Enables ring zero fault messages
  2166.  
  2167. EDOSHookFatalOK=
  2168.  
  2169.  
  2170.  
  2171. EDOSHookFatalOK=True    Enables default fatal error message.
  2172.  
  2173.  
  2174.  
  2175. EDOSNumMsg=
  2176.  
  2177.  
  2178.  
  2179. EDOSNumMsg=n    Number of alarms allowed. The default is 1. Do not
  2180. increase.
  2181.  
  2182. EDOSPrtScr=
  2183.  
  2184.  
  2185.  
  2186. The EDOSPrtScr= statement controls whether EDOS sends the
  2187. current DOS screen to the printer on the LPT1 port when the user
  2188. presses the PrintScreen key.
  2189.  
  2190.  
  2191.  
  2192. To disable this behavior, change TRUE to FALSE. This sends the
  2193. current DOS screen into the Windows Clipboard, without printing
  2194. it, when the user presses the PrintScreen key. This is the same
  2195. behavior Windows exhibits when EDOS is not running at all.
  2196.  
  2197.  
  2198.  
  2199. Ctrl+P in full screen or windowed mode is not effected by this
  2200. option. Ctrl+P toggles on and off printing of text displayed or
  2201. typed on the screen.
  2202.  
  2203.  
  2204.  
  2205. EDOSReserveB0=
  2206.  
  2207.  
  2208.  
  2209. EDOSReserveB0=True    Enables/disables global reserving of
  2210. B000-B7FF 
  2211.  
  2212.  
  2213.  
  2214. NOTE:     Try setting to False if over 704k won't work.
  2215.  
  2216. EDOSWarnShare
  2217.  
  2218.  
  2219.  
  2220.  EDOSWarnShare=True    Enables Share Warning Message at startup
  2221.  
  2222. How Setup Works
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228. Windows 3.1 and DOS 3.30 or higher must be running  when you
  2229. install EDOS.
  2230.  
  2231.  
  2232.  
  2233. To install EDOS, place the EDOS diskette in floppy drive A: or
  2234. B:. Click the File menu in Program Manager (or any Windows
  2235. "shell" program), then click Run. Type the following command
  2236. line and press Enter:
  2237.  
  2238.  
  2239.  
  2240. A:\SETUP     or      B:\SETUP
  2241.  
  2242.  
  2243.  
  2244. EDOS is run by placing the command EDOS in the DRIVERS= line of
  2245. the [boot] section of SYSTEM.INI, and the line EDOS=EDOSLIB.DLL
  2246. in the [drivers] section of SYSTEM.INI as follows:
  2247.  
  2248.  
  2249.  
  2250. [boot]
  2251.  
  2252. drivers=EDOS {other drivers here}
  2253.  
  2254.  
  2255.  
  2256. [drivers]
  2257.  
  2258. EDOS=EDOSLIB.DLL
  2259.  
  2260.  
  2261.  
  2262. These steps are performed automatically by the EDOS Setup
  2263. program. It is not necessary for you to change these lines. This
  2264. description is provided solely for your information.
  2265.  
  2266.  
  2267.  
  2268. NOTE:    EDOS Setup automatically creates a DOS Session group
  2269. window in the Windows Program Manager. If the Program Manager is
  2270. not running when you install EDOS, this group may not be created
  2271. and EDOS' five DOS Session icons will not be inserted into that
  2272. window.
  2273.  
  2274.  
  2275.  
  2276. Setup Log
  2277.  
  2278.  
  2279.  
  2280. The setup program keeps a log of system changes that it makes in
  2281. a file called "INSTALL.LOG." You can review this log to
  2282. de-install EDOS or general trouble shooting. All files from the
  2283. install are put in the \WINDOWS\EDOS subdirectory.
  2284.  
  2285.  
  2286.  
  2287. QEMM
  2288.  
  2289.  
  2290.  
  2291. Setup will warn if you have QEMM installed. It and other similar
  2292. memory managers should exclude the space from B000-B7FF from
  2293. their use. Don't use the NX switch, if you want DOS sessions
  2294. greater than 640k.
  2295.  
  2296. SHARE
  2297.  
  2298.  
  2299.  
  2300. The "Share is not loaded message" should be ignored in a network
  2301. environment. If you receive sharing violations when you have
  2302. share installed, run SHARE /?, to see the options. Suggest that
  2303. you make /F:4000 or more and /L:200.  If share is loaded, you
  2304. will not be able to run a Windows app from the command line, if
  2305. it is already running.
  2306.  
  2307.  
  2308.  
  2309. SCSI Drives
  2310.  
  2311.  
  2312.  
  2313. Some SCSI drives from DPT, Future Domain and Western Digital use
  2314. some address space near 639k. Such use will prevent your
  2315. creating oversize DOS sessions(over 640k). Two of these
  2316. manufacturers have a device driver that will move this to an
  2317. Upper Memory Block(UMB). Contact your driver manufacturer for
  2318. details.  
  2319.  
  2320.  
  2321.  
  2322. Stack Space
  2323.  
  2324.  
  2325.  
  2326. The stack space in a DOS session is only about 4900 bytes. If
  2327. you get message boxes that refer to WINOLDAP failing, this may
  2328. be stack overflow. In some cases stack overflow can occur and
  2329. and damage the data segment without actually hitting the end of
  2330. the segment. This could result in an error condition that is NOT
  2331. an OBVIOUS stack problem. There is a utility on the disk
  2332. "stacksiz.exe" that will change the DOS session stack to about
  2333. 8100 bytes. If you use it, it will prompt you with instructions
  2334. for it's proper and safe use. EDOS also has code that checks
  2335. whenever a DOS session terminates to see if the session EVER
  2336. came within 300 bytes of using ALL the stack space. If this
  2337. occurs you will receive a message box to that effect. Contact
  2338. EDOS tech support for instructions OR use the stacksiz utility
  2339. yourself.
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345. Print Drivers
  2346.  
  2347.  
  2348.  
  2349. You should install the "Generic / Text Only" printer driver,
  2350. that the "print clip" menu item will use, if available. This
  2351. menu item also requires that the print spooler be enabled, if it
  2352. is to work.
  2353.  
  2354.  
  2355.  
  2356. 50/25 Line Display
  2357.  
  2358.  
  2359.  
  2360. The 50 and 25 line menu items do not change lines correctly with
  2361. all VGA display adapters. In addition, there are dumb screen
  2362. switchers similar to "MODE CON: lines=50". Because of this,
  2363. changing screen lines does not always result in a screen "that
  2364. will make you burst with pride".
  2365.  
  2366.  
  2367.  
  2368. The Files That EDOS Installs
  2369.  
  2370.  
  2371.  
  2372. EDOS installs most of its files into a sub directory under the
  2373. main Windows directory (the directory that contains WIN.COM,
  2374. WIN.INI, etc.). In this location, it is easy to locate the files
  2375. on the DOS Path, but they do not interfere with future updates
  2376. to Windows itself.
  2377.  
  2378.  
  2379.  
  2380. Additionally, the files EDOSEXIT.COM, ISWIN.COM and CLIPBOAR.COM
  2381. are installed in the main Windows directory, but can be
  2382. relocated as long as they are in a directory on the DOS Path.
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390. The following is a list of all files EDOS installs to your hard
  2391. disk:
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397. Installed in Windows directory
  2398.  
  2399.  
  2400.  
  2401. ISWIN.COM    External command to detect Windows.
  2402.  
  2403. CLIPBOAR.COM    External command to view Clipboard text.
  2404.  
  2405. EDOSEXIT.COM    Returns exit codes from internal EDOS commands.
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417. Installed in EDOS directory
  2418.  
  2419.  
  2420.  
  2421. !DOSMEM!.COM    Used by oversized DOS session PIFs.
  2422.  
  2423. BIGDOS.PIF    PIF file that establishes a 640K DOS session.
  2424.  
  2425. DOS128.PIF    PIF file that establishes a 128K DOS session.
  2426.  
  2427. DOSSMAL.PIF    PIF file for the smallest possible, 64K DOS session.
  2428.  
  2429. EDOS.386**    Enhanced DOS for Windows virtual device driver.
  2430.  
  2431. EDOS.INI    Copy to Windows directory to change EDOS defaults.
  2432.  
  2433. EDOS704K.PIF    704kb  DOS session.
  2434.  
  2435. EDOS736K.PIF    736kb DOS session.
  2436.  
  2437. EDOSLIB.DLL**    Dynamic Link Library (DLL) device driver.
  2438.  
  2439. EDOSDIS.EXE    Disable/Enable loading EDOS.
  2440.  
  2441. EDOSLIB.HLP    Help file for EDOS library. Uses WINHELP.EXE.
  2442.  
  2443. EDOS.HLP    Installation and general information Help file.
  2444.  
  2445. TESTEDOS.BAT    Batch file to demonstrate and test EDOS.
  2446.  
  2447. VERIFY.EXE    Verifies correct installation of EDOS.
  2448.  
  2449. STACKSIZ.EXE    Stack size changer.
  2450.  
  2451. E704KBAT.*    704kb PIF and batch files
  2452.  
  2453. SYSTEM.EDB    Backup of SYSTEM.INI.
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461. Batch Files Used to Test EDOS Functions
  2462.  
  2463.  
  2464.  
  2465. TESTEDOS.BAT
  2466.  
  2467. TSTISWIN.BAT
  2468.  
  2469. TESTALL.BAT
  2470.  
  2471.  
  2472.  
  2473. Batch FIles to De-Install EDOS
  2474.  
  2475.  
  2476.  
  2477. KILL.BAT    Removes old, unused EDOS files from previous versions.
  2478.  
  2479. REMOVE.BAT    Deletes EDOS files and directory
  2480.  
  2481.  
  2482.  
  2483. ** NOTE:    If your hard disk is nearing capacity and you want to
  2484. delete files, be careful. You cannot delete EDOSLIB.DLL or
  2485. EDOS.386 without totally disabling EDOS functions. You cannot
  2486. delete the .BAT, .COM, and .PIF files without losing their
  2487. functionality. You can, however, delete the .HLP files and .WRI
  2488. files after printing them. This will eliminate on-line
  2489. documentation, of course.
  2490.  
  2491. The following files are not installed, but are available on
  2492. diskette if needed:
  2493.  
  2494.  
  2495.  
  2496. B:\
  2497.  
  2498.  
  2499.  
  2500. EDOS.EXE    Starts a small Windowed DOS session.
  2501.  
  2502. EDOS.TXT    Basic how-to-install and troubleshooting information.
  2503.  
  2504. SETUP.EXE    Installation and setup program for EDOS.
  2505.  
  2506. METER.DLL    Windows 3.x library used by SETUP.EXE
  2507.  
  2508. SETUP.INF    Information needed by SETUP.EXE.
  2509.  
  2510. DRWATSON.EXE    Windows diagnostic tool.
  2511.  
  2512. MEM.COM    Use with DOS 3.3, to prevent bad command message.
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518. B:\SHARE - Documentation on Share
  2519.  
  2520. DOS4XX.TXT
  2521.  
  2522. SHARE.MSG
  2523.  
  2524. SHARE1.TXT
  2525.  
  2526. README.TXT
  2527.  
  2528.  
  2529.  
  2530. B:\SYSTEM
  2531.  
  2532.  
  2533.  
  2534. COMMDLG.DLL    User installable replacement dialogs
  2535.  
  2536.  
  2537.  
  2538. This file contains templates and code that generate the common:
  2539. OPEN, SAVE, SAVEAS, etc. dialog boxes. We have enclosed a
  2540. special version for you. In the January 18,1993 issue of
  2541. InfoWorld, Brian Livingston's column discusses improvements to
  2542. COMMDLG.DLL. The file that we have provided you incorporates
  2543. improvements suggested in his  article. Note: that EDOS uses
  2544. almost the same identical dialog boxes for PICK/NEW. These
  2545. improvements are IMPRESSSIVE. Enjoy!
  2546.  
  2547.  
  2548.  
  2549. To install COMMDLG.DLL, copy the file from the diskette, in the
  2550. system subdirectory, to your Windows\system subdirectory. You
  2551. might want to make a backup copy of COMMDLG.DLL (ie.
  2552. COMMDLG.OLD). Before you copy in the new version. To test the
  2553. new dialog box. Run Windows Write.EXE and choose FILE/OPEN.
  2554. Notice the improvement. Hooray for Brian Livingston! What a
  2555. suggestion.
  2556.  
  2557.  
  2558.  
  2559. After this is done, ALL dialog boxes that use COMMDLG.DLL, will
  2560. have the NEW LOOK. After you have tried this, you may want to
  2561. soup your car up too, using 100 octane aviation fuel. DON'T! 
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573. B:\V86_API - Programmers Test Programs and Source Code
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579. TESTV86.COM    Demonstrates DOS programmer's API. message box.
  2580.  
  2581. TESTV86.ASM    Programmer's API source code.
  2582.  
  2583. TSTWINEX.COM    Demo running a Window's Application.
  2584.  
  2585. TSTWINEX.ASM
  2586.  
  2587. README.TXT
  2588.  
  2589.  
  2590.  
  2591.  
  2592. E704KBAT.PIF
  2593.  
  2594.  
  2595.  
  2596. E704KBAT.PIF, is a sample pif for a an oversize DOS session that
  2597. runs a batch file. E704KBAT.BAT just prompts you to enter a key,
  2598. but it could be any other kind of batch file. It ends by
  2599. starting up %COMSPEC%, so that you end up in command.com.
  2600.  
  2601.  
  2602.  
  2603. EDOS.INI
  2604.  
  2605.  
  2606.  
  2607. EDOS.INI contains the following line:
  2608.  
  2609.  
  2610.  
  2611. libhelp=\edos\edoslib.hlp
  2612.  
  2613.  
  2614.  
  2615. When EDOS finds an EDOS.INI file, these lines indicate that
  2616. EDOSLIB and EDOS Help reside in subdirectories under the main
  2617. Windows directory. You can hard-code these lines so these files
  2618. can reside in other directories -- perhaps on a network.
  2619.  
  2620.  
  2621.  
  2622. Reinstalling EDOS Over a Beta Version
  2623.  
  2624.  
  2625.  
  2626. If you have an old or shareware version of EDOS (prior to EDOS
  2627. Version 3.0), do the following:
  2628.  
  2629.  
  2630.  
  2631. 1. Remove the EDOS Control icon from your DOS Session group
  2632. window.
  2633.  
  2634.  
  2635.  
  2636. 2. Examine WIN.INI with a text editor for mentions of EDOS.EXE
  2637. or EDOSLIB.EXE and remove them.
  2638.  
  2639.  
  2640.  
  2641. 3. Remove EDOSCTL.EXE from the LOAD= or RUN= lines of WIN.INI,
  2642. and delete this file from your hard disk. EDOSCTL.EXE and
  2643. EDOSLIB.EXE should never run at the same time.
  2644.  
  2645.  
  2646.  
  2647. EDOS Setup should take care of the above steps for you
  2648. automatically. But taking these steps prior to installing EDOS
  2649. will eliminate several dialog boxes and prevent potential errors.
  2650.  
  2651.  
  2652.  
  2653. How To Remove EDOS
  2654.  
  2655.  
  2656.  
  2657. If you need to remove or un-install EDOS for any reason, you can
  2658. easily do so by following these steps:
  2659.  
  2660.  
  2661.  
  2662. 1. To immediately disable EDOS from affecting Windows or your
  2663. DOS sessions:  
  2664.  
  2665.  
  2666.  
  2667. Comment out the device=edos.386 line in the [386enh] section of
  2668. SYSTEM.INI. Remove the word "EDOS" from the DRIVERS= line in the
  2669. [boot] section of SYSTEM.INI, and remove the line
  2670. EDOS=EDOSLIB.EXE from the [drivers] section of SYSTEM.INI. (You
  2671. can comment out lines in WIN.INI and SYSTEM.INI by placing a
  2672. semicolon at the beginning of the line, if you prefer.)
  2673.  
  2674.  
  2675.  
  2676. 2. To completely delete EDOS files from your system:
  2677.  
  2678.  
  2679.  
  2680. Minimize the DOS Session group window in Program Manage, then
  2681. select it by clicking it with a mouse until it's title is
  2682. highlighted. Then click File Delete on the Program Manager menu.
  2683.  
  2684.  
  2685.  
  2686. Delete the EDOS directory, which is usually in a sub directory
  2687. under your Windows directory, then delete the files listed
  2688. earlier in this document in the section "The Files EDOS
  2689. Installs."
  2690.  
  2691.